package com.sys.sprinngboot.goodtheater.service;

import com.sys.sprinngboot.goodtheater.bean.Drama;
import com.sys.sprinngboot.goodtheater.dao.DramaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DramaService {
    @Autowired
    DramaMapper dramaMapper;

    public List<Drama> dramaAll(){
        return dramaMapper.selectAll();
    }
}
